@extends('layouts.base') @section('content') @parent
<div id="wrapper">
	<div class="main-content container">
		<div class="row small-space">
			<div class="col-md-8">
				<div class="box-content">
					<p>{{$start}}</p>
					<h3>{{$iword->word}}</h3>
					<p>
						<span>{{$iword->pron->prus}}&nbsp;&nbsp;{{$iword->pron->pruk}}</span>
					</p>
					<p>
						@if(count($iword->interpret)!=0) @foreach($iword->interpret as $inter)
						<span>
							<i>{{$inter->pos}}</i>
						</span>&nbsp;&nbsp;
						<strong>{{$inter->def}}</strong>
						<br> @endforeach @endif
					</p>
					<p>{{$iword->tips}}</p>

					@if(count($iword->interpretmore)!=0)
					<p>
						<strong>更多{{$iword->word}}翻译</strong>
					</p>
					<p>
						@foreach($iword->interpretmore as $interm)
						<span>
							<strong>{{$interm->pos}}</strong>
						</span>&nbsp;&nbsp; @foreach($interm->def as $defi)
						<span>{{$defi}}</span>&nbsp;&nbsp; @endforeach
						<br> @endforeach </p>@endif
					<p>
						<strong>有关{{$iword->word}}的例句</strong>
					</p>
					@for($i=0;$i<min(count($sens),6);$i++) <p>
						<strong>{{$i+1}} .&nbsp;&nbsp;</strong>{{$sens[$i]->sen}}
						<br> {{$sens[$i]->scn}}
						</p>
						@endfor

				</div>
				@foreach($iword->cats as $cat)
				<strong>{{$cat->name}}</strong>&nbsp;
				@endforeach
			</div>
			<div class="col-md-4">
				<div class="box-content">
					<h4>单词列表</h4>
					<hr> @foreach($words as $word)
					<p>
						<span>
							<a href="{{route('word.show',$word->word)}}" target="_blank">{{$word->word}}</a>
						</span>
					</p>
					@endforeach {{$words->links() }}
				</div>
			</div>
		</div>
	</div>
</div>
<!-- /.main-content -->
</div>
@endsection